﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OCR
{
    /// <summary>
    /// 历史记录对象
    /// </summary>
    public class HistoryInfo
    {
        /// <summary>
        /// 时间
        /// </summary>
        public string Date
        {
            get;
            set;
        }
        /// <summary>
        /// 图片存储路径
        /// </summary>
        public string ImageFolder
        {
            get;
            set;
        }
        /// <summary>
        /// 识别配置
        /// </summary>
        public CardType OcrConfig
        {
            get;
            set;
        }
        /// <summary>
        /// 识别结果
        /// </summary>
        public List<Card> Results
        {
            get;
            set;
        }
        /// <summary>
        /// 识别数量
        /// </summary>
        public int Num
        {
            get
            {
                return Results.Count;
            }
        }
    }
}
